package com.hxzy.tzxm.domain.dto;

import com.hxzy.common.core.domain.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "文章查询")
@Getter
@Setter
public class CmsContentSearchDTO extends PageDomain {


    @ApiModelProperty(value = "所属栏目")
    private Long categoryId;


    @ApiModelProperty(value = "文章标题")
    private String contentTitle;


    @ApiModelProperty(value = "是否显示(0显示 1不显示)")
    private String contentDisplay;

    @ApiModelProperty(value = "创建开始时间，格式yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty(value = "创建结束时间，格式yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
